package com.minio.project.Config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * swagger2配置属性实体
 *
 * @PACKAGE_NAME: com.ca.project.swagger2
 * @NAME: Swagger2ConfigProperties
 * @USER: ASUS
 * @DATE: 2023/8/25
 * @TIME: 下午 02:29
 **/
@Data
@Component
@ConfigurationProperties(prefix = "swagger2")
public class Swagger2ConfigProperties {
    @Value("${swagger2.show}")
    private Boolean show;

    @Value("${swagger2.group-name}")
    private String groupName;

    @Value("${swagger2.base-package}")
    private String basePackage;

    @Value("${swagger2.title}")
    private String title;

    @Value("${swagger2.description}")
    private String description;

    @Value("${swagger2.terms-of-service-url}")
    private String termsOfServiceUrl;

    @Value("${swagger2.contact-name}")
    private String contactName;

    @Value("${swagger2.contact-url}")
    private String contactUrl;

    @Value("${swagger2.contact-email}")
    private String contactEmail;

    @Value("${swagger2.version}")
    private String version;
}
